package com.p01_clone;

/**
 * 原始克隆接口
 */
public class Cat implements Cloneable{
    private String name = "cat";
    private int age=2;

    @Override
    protected Object clone() throws CloneNotSupportedException {
        return super.clone();
    }
}
